package com.xbongbong.pro.formdata.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 获取tab也没
 * @author 吴峰
 * @version v1.0
 * @date 2019/3/4 14:41
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class DefaultOwnerAndCoUserGetDTO extends BaseDTO {
    private static final long serialVersionUID = 1391352128361226149L;

    /**
     * 数据id
     */
    @NotNull(message = "{dto.msg.defaultOwnerAndCoUserGet.selectDataId.NotNull}")
    private List<Long> selectDataIdList;

    /**
     * 上游业务类型
     */
    @NotNull(message = "{dto.msg.defaultOwnerAndCoUserGet.selectBusinessType.NotNull}")
    private Integer selectBusinessType;

    /**
     * saas标记
     */
    private Integer saasMark;

    /**
     * 业务类型
     */
    private Integer businessType;

    /**
     * 经销商标示
     */
    @NotNull(message = "{dto.msg.defaultOwnerAndCoUserGet.distributorMark.NotNull}")
    private Integer distributorMark;

    public DefaultOwnerAndCoUserGetDTO(List<Long> selectDataIdList, Integer saasMark, Integer businessType, Integer distributorMark) {
        this.selectDataIdList = selectDataIdList;
        this.saasMark = saasMark;
        this.businessType = businessType;
        this.distributorMark = distributorMark;
    }

    public DefaultOwnerAndCoUserGetDTO(){

    }
}
